package com.qd.panda.mapper.commodity;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qd.panda.model.CommodityClassification;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 商品分类
 *
 * @author sjk
 */
public interface CommodityClassificationMapper extends BaseMapper<CommodityClassification> {

    /**
     * 传入主键判断这些主键是否在数据表中
     *
     * @param ids 传入主键
     * @return 返回存在的主键
     */
    List<String> getIds(@Param("ids") List<String> ids);
}